package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

import java.util.List;

public interface PermissionService {
   public PageResult findPage(QueryPageBean queryPageBean);

   public void add(Permission permission);
   /*根据id查询权限信息*/
   public Permission findById(Integer id);

   public void edit(Permission permission);

   public void deleteById(Integer id);

   public List<Permission> findAll();
}
